cmake_minimum_required (VERSION 2.8)
PROJECT (Raspberry)


#version number
set (Raspberry_VERSION_MAJOR 1)
set (Raspberry_VERSION_MINOR 0)


#optimize & use C++11
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3")

set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH})

set(Boost_NO_SYSTEM_PATHS FALSE)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_STATIC_RUNTIME TRUE)
set(Boost_USE_MULTITHREADED FALSE)
set(Boost_COMPILER /home/aaron/pi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-c++)
set(BOOST_ROOT /boost)
set(BOOST_LIBRARY /boost/lib)
set(BOOST_INCLUDEDIR /boost/include)
set(Boost_INCLUDE_DIR /boost/include)
set(Boost_LIBRARY_DIRS /boost/lib)




#include the directory containing our libs
add_subdirectory (src)
add_subdirectory (tests)
include_directories(include)
include_directories(${BOOST_INCLUDEDIR})
include_directories(${Boost_INCLUDE_DIR})


link_directories(${BOOST_LIBRARYDIR})